package com.ksyun.ks3.services.handler;


import com.ksyun.ks3.exception.Ks3ClientException;
import com.ksyun.ks3.exception.Ks3ServiceException;
import com.ksyun.ks3.services.request.Ks3HttpRequest;

import okhttp3.Headers;

public abstract class Ks3HttpResponseHandler extends AsyncHttpResponseHandler {
    @Override
    public void onSuccess(Ks3HttpRequest request, int statusCode, Headers responseHeaders, byte[] response) {
    }

    @Override
    public void onFailure(Ks3HttpRequest request, Ks3ClientException clientException, Ks3ServiceException serviceException) {
    }

    @Override
    public final void onRetry(int retryNo) {
    }

    public void onProgress(long bytesWritten, long totalSize) {
    }

    public void onStart() {
    }

    public void onFinish() {
    }

    public void onCancel() {
    }

}
